package com.woniu.cms.auth.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lilili
 * @since 2022-09-16
 */
@Getter
@Setter
  @TableName("cms_rbac_role_perm")
@ApiModel(value = "RbacRolePerm对象", description = "")
public class RbacRolePerm implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("角色权限编号")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("角色编号")
      private Integer roleId;

      @ApiModelProperty("权限编号")
      private Integer permId;

      @ApiModelProperty("上级菜单的标号")
      private Integer pid;

      @ApiModelProperty("菜单链接的url")
      private String url;
}
